package com.yxinsur.imc.business.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;

/**
* Title: Insurant.java
* Description: 被保人信息
* Company: 壹心科技[经代开发组]
* @date 2021-01-25
* @version 1.0
 *
 */
@Data
@ToString
public class Insurant implements Serializable {

	private static final long serialVersionUID = 1L;

	@NotBlank(message="与投保人关系[relationWithApplicant]不能为空")
	private String relationWithApplicant;

	@NotBlank(message="被保人姓名[fullName]不能为空")
	private String fullName;

	@NotBlank(message="被保人证件类型[certiType]不能为空")
	private String certiType;

	@NotBlank(message="被保人证件号码[certiCode]不能为空")
	private String certiCode;

	private String certiExpiryDate;

	@NotBlank(message="被保人出生日期[birthday]不能为空")
	private String birthday;

	@NotBlank(message="被保人性别[gender]不能为空")
	private String gender;

	private String maritalStatus;

	@NotBlank(message="被保人职业名称[occName]不能为空")
	private String occName;

	private BigDecimal income;

	private String houseTel;

	@NotBlank(message="被保人所属省[province]不能为空")
	private String province;

	@NotBlank(message="被保人所属市[city]不能为空")
	private String city;

	@NotBlank(message="被保人所属区[county]不能为空")
	private String county;

	@NotBlank(message="被保人通讯地址[mailAddr]不能为空")
	private String mailAddr;

	private String postalcode;

	private String homeAddr;

	private String mobile;

	private String workUnit;

	private String unitAddr;

	private String email;

	private String height;

	private String weight;

	private String remark;


}